package com.jy.rhin.model.body.chushengyxzm;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class FuMu {

    //姓名
    @XPath(path = "/subject/relatedSubject/subject/name/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_039_00))
    String xingMing;

    //出生日期
    @XPath(path = "/subject/relatedSubject/subject/birthTime/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_005_01))
    String chuShengRQ;

    //国籍
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.01.015.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_015_00))
    CodeObject guoJi;


    //民族
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.01.025.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_025_00))
    CodeObject minZu;

    //身份证号码
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.01.030.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_030_00))
    String shengFenZHM;



    
}
